package com.example.sys.invoice.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BaseAuthPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "发票信息")
@TableName(value = "sys_invoice")
public class SysInvoice extends BaseAuthPo<SysInvoice> {

    @ApiModelProperty(value = "开票对象")
    @TableField(value = "target_id")
    private String targetId;

    @ApiModelProperty(value = "模块名称")
    @TableField(value = "model_name")
    private String modelName;

    @ApiModelProperty(value = "模块id")
    @TableField(value = "model_id")
    private String modelId;

    @ApiModelProperty(value = "订单id")
    @TableField(value = "pay_id")
    private String payId;

    @ApiModelProperty(value = "开票类型")
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "发票号")
    @TableField(value = "code")
    private String code;

    @ApiModelProperty(value = "开票邮箱")
    @TableField(value = "email")
    private String email;

    @ApiModelProperty(value = "开票额")
    @TableField(value = "fee")
    private String fee;

    @ApiModelProperty(value = "开票项目")
    @TableField(value = "item")
    private String item;

    @ApiModelProperty(value = "发票号")
    @TableField(value = "hm")
    private String hm;

    @ApiModelProperty(value = "备注")
    @TableField(value = "bz")
    private String bz;

    @ApiModelProperty(value = "开票状态")
    @TableField(value = "status")
    private String status;
}
